home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / libxml-sax-perl.postrm < prev    next >
Text File  |  2008-05-03  |  982b  |  32 lines

  1. #!/bin/sh
  2. ## ----------------------------------------------------------------------
  3. ## debian/postrm : postremoval script for libxml-sax-perl
  4. ## ----------------------------------------------------------------------
  5.  
  6. ## ----------------------------------------------------------------------
  7. set -e
  8.  
  9. ## ----------------------------------------------------------------------
  10. if [ "$1" = purge ]
  11. then
  12.     rm -f /etc/perl/XML/SAX/ParserDetails.ini
  13.     rmdir --parents --ignore-fail-on-non-empty /etc/perl/XML/SAX
  14.     rm -rf /var/lib/libxml-sax-perl
  15.     if which ucf >/dev/null 2>&1
  16.     then
  17.         ucf --purge /etc/perl/XML/SAX/ParserDetails.ini
  18.     fi
  19.     if which ucfr >/dev/null 2>&1
  20.     then
  21.         ucfr --purge libxml-sax-perl /etc/perl/XML/SAX/ParserDetails.ini
  22.     fi
  23. fi
  24.  
  25. ## ---------------------------------------------------------------------- 
  26. ## automatically generated debhelper commands
  27.  
  28.  
  29. exit 0
  30.  
  31. ## ----------------------------------------------------------------------
  32.